import { User } from "@/api/interface";
import * as types from "@/redux/mutation-types";

export const setUserColumn = (userColumn: User.UserInfo[]) => {
	return {
		type: types.SET_USER_COLUMN,
		payload: userColumn
	};
};

export const setUserRow = (userRow: Partial<User.UserInfo>) => {
	return {
		type: types.SET_USER_ROW,
		payload: userRow
	};
};
